package com.bestescortbedsystem.controller.tiaozhuan;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * ClassName: RedictController
 * Package: com.bestescortbedsystem.controller.tiaozhuan
 *
 * @author: guanzepeng
 * @Date: 2021/2/18 16:43 星期四
 * @Description: 实现页面跳转
 */
@Controller
public class RedictController {

	/**
	 * 前端用户首页
	 * @return
	 */
	@RequestMapping("/main")
	public String userMain() {
		return "redirect:/webapp/UserMain.html";
	}

	/**
	 * 后端用户首页
	 * @return
	 */
	@RequestMapping("/index")
	public String index() {
		return "redirect:/webapp/index.html";
	}

	/**
	 * 前端用户登录
	 * @return
	 */
	@RequestMapping("/")
	public String login() {
		return "redirect:/user/Login.html";
	}

	/**
	 * 后端用户登录
	 * @return
	 */
	@RequestMapping("/login")
		public String adminlogin() {
		return "redirect:/adminUser/Login.html";
	}


}
